using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN NamHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: NamHocEntity</para>
	/// <para>Description: ClassNamHocEntity store data of table NamHoc</para>
	///</summary>

	[DataContract]
	public partial class NamHocEntity{


		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullMaNamHoc=true;
		private bool _IsNullMaNamHoc=true;
		private bool _InternalChangedIsNullTenNamHoc=true;
		private bool _IsNullTenNamHoc=true;
		private bool _InternalChangedIsNullNgayBatDau=true;
		private bool _IsNullNgayBatDau=true;
		private bool _InternalChangedIsNullNgayKetThuc=true;
		private bool _IsNullNgayKetThuc=true;
		private bool _InternalChangedIsNullNamHocHienTai=true;
		private bool _IsNullNamHocHienTai=true;
		private int _NamHoc_ID;
		private int _MaNamHoc;
		private string _TenNamHoc;
		private DateTime _NgayBatDau;
		private DateTime _NgayKetThuc;
		private bool _NamHocHienTai;
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMaNamHoc{
			get{return _IsNullMaNamHoc;}
			set{if(!_InternalChangedIsNullMaNamHoc)_IsNullMaNamHoc=value;}
		}
		[DataMember]
		public bool IsNullTenNamHoc{
			get{return _IsNullTenNamHoc;}
			set{if(!_InternalChangedIsNullTenNamHoc)_IsNullTenNamHoc=value;}
		}
		[DataMember]
		public bool IsNullNgayBatDau{
			get{return _IsNullNgayBatDau;}
			set{if(!_InternalChangedIsNullNgayBatDau)_IsNullNgayBatDau=value;}
		}
		[DataMember]
		public bool IsNullNgayKetThuc{
			get{return _IsNullNgayKetThuc;}
			set{if(!_InternalChangedIsNullNgayKetThuc)_IsNullNgayKetThuc=value;}
		}
		[DataMember]
		public bool IsNullNamHocHienTai{
			get{return _IsNullNamHocHienTai;}
			set{if(!_InternalChangedIsNullNamHocHienTai)_IsNullNamHocHienTai=value;}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int MaNamHoc{
			get{return _MaNamHoc;}
			set{
				_MaNamHoc=value;
				if(_MaNamHoc!=null){
					_IsNullMaNamHoc=false;
					_InternalChangedIsNullMaNamHoc=true;
				}
			}
		}
		[DataMember]
		public string TenNamHoc{
			get{return _TenNamHoc;}
			set{
				_TenNamHoc=value;
				if(_TenNamHoc!=null){
					_IsNullTenNamHoc=false;
					_InternalChangedIsNullTenNamHoc=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayBatDau{
			get{return _NgayBatDau;}
			set{
				_NgayBatDau=value;
				if(_NgayBatDau!=null){
					_IsNullNgayBatDau=false;
					_InternalChangedIsNullNgayBatDau=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayKetThuc{
			get{return _NgayKetThuc;}
			set{
				_NgayKetThuc=value;
				if(_NgayKetThuc!=null){
					_IsNullNgayKetThuc=false;
					_InternalChangedIsNullNgayKetThuc=true;
				}
			}
		}
		[DataMember]
		public bool NamHocHienTai{
			get{return _NamHocHienTai;}
			set{
				_NamHocHienTai=value;
				if(_NamHocHienTai!=null){
					_IsNullNamHocHienTai=false;
					_InternalChangedIsNullNamHocHienTai=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END NamHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

